<template>
    <van-tabbar route @change="onChange">
        <!-- 首页 -->
        <van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
        <!-- 行情 -->
        <van-tabbar-item icon="search" to="/market">行情</van-tabbar-item>
        <!-- 交易 -->
        <van-tabbar-item icon="shopping-cart-o" to="/trade">交易</van-tabbar-item>
        <!-- 圈子 -->
        <van-tabbar-item icon="wap-home-o" to="/circle">圈子</van-tabbar-item>
        <!-- 我的 -->
        <van-tabbar-item icon="user-o" to="/my">我的</van-tabbar-item>
    </van-tabbar>
</template>

<script setup>

</script>

<style lang='less' scoped>
//固定在底部
.van-tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}
</style>
